class ClassResp {
    ClassResp({
        this.classId,
        this.className,
        this.rank,
        this.viewReport,
    });

    String? classId;
    String? className;
    int? rank;
    bool? viewReport;

    factory ClassResp.fromJson(Map<String, dynamic> json) => ClassResp(
        classId: json["classId"],
        className: json["className"],
        rank: json["rank"],
        viewReport: json["viewReport"],
    );

    Map<String, dynamic> toJson() => {
        "classId": classId,
        "className": className,
        "rank": rank,
        "viewReport": viewReport,
    };
}